import request from '@/utils/request'

// 查询专利数据列表
export function listProjectData(query) {
    return request({
        url: '/project/projectData/list',
        method: 'get',
        params: query
    })
}

// 查询专利数据详细
export function getProjectData(id) {
    return request({
        url: '/project/projectData/' + id,
        method: 'get'
    })
}
// 查询专利数据详细
export function selectScore(id) {
    return request({
        url: 'system/project/selectScore/' + id,
        method: 'get'
    })
}

// 新增专利数据
export function addProjectData(data) {
    return request({
        url: '/project/projectData',
        method: 'post',
        data: data
    })
}

// 修改专利数据
export function updateProjectData(data) {
    return request({
        url: '/project/projectData',
        method: 'put',
        data: data
    })
}

// 删除专利数据
export function delProjectData(id) {
    return request({
        url: '/project/projectData/' + id,
        method: 'delete'
    })
}